package com.wkx.mp.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * @author： wkx
 * @date： 2020/4/20 12:18
 */
@Data
public class User {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Integer age;
    private String email;
//    @TableField(fill = FieldFill.INSERT)
    private Date CreateTime;
//    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date UpdateTime;
}
